i = RS274Interpreter()

i.g54()
i.g91()

i.cmd("record_prbs", 1)
i.g04(1.5)

# sin
# i.do_prbs_from_file("trapezoid_A80_V150_A500_dt500_total8000.csv", axis_idx=2, options={"max_lines": 1000})

i.do_prbs_from_file("sine_A60_P100_dt500_total8000.csv", axis_idx=2,
options={"max_lines": 20000, "ratio_times_1000": 400})

i.g04(1.5)
i.cmd("record_prbs", 0)

i.m02()
